package cn.dansj.service;

import cn.dansj.entity.RequestLog;
import org.springframework.data.domain.Page;

import java.util.List;

public interface RequestLogService {
    void save(List<RequestLog> requestLogs);

    void save(RequestLog requestLog);

    Page<RequestLog> search(Integer pageNum, Integer pageLimit, String url, int status, long cost, String date, String controller, String loginUser, int apiType);

    Page<RequestLog> search(Integer pageNum, Integer pageLimit, List<String> url, int status, long cost, String date, String controller, String loginUser, int apiType);
}
